{template header}
<h4 style="padding-left:10px;;">
    <span>短信记录</span>
</h4>
<form class="form-horizontal" method="POST" action="?c=admin&a=getMobileCodeList"  >
    <div class="control-group search-group" style="margin:0;">
        <label class="control-label" >手机号：</label>
        <div class="controls">
           <input type="text" value="{$mobile}" name="mobile" />
            <input class="btn" type="submit" value="查询" />
        </div>
    </div>
</form>
<div class="bs-docs-example table-align pt-15" style="clear:both;">
    <table class="table table-striped table-align">
        <thead>
        <tr>
            <th>手机号</th>
            <th>验证码</th>
            <th>发送时间</th>
            <th>验证时间</th>
        </tr>
        </thead>
        {if count($info)>0}
        <tbody>
        {loop $info $k $v}
            <tr>
                <td>{$v['mobile']}</td>
                <td>{$v['verify_code']}</td>
                <td>{eval echo date("Y-m-d H:i:s",$v['send_time'])}</td>
                <td>
                    {if $v['verify_time']>0}
                    {eval echo date("Y-m-d H:i:s",$v['verify_time'])}
                    {else}
                        -----
                    {/if}
                </td>
            </tr>

        {/loop}
        <div id="res"></div>
        </tbody>
        {/if}
    </table>

</div>
<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>
{template footer}